
$(function(){

 var scrtimeleft;
 var scrtimeright;

  $("#comment").hover(function(){clearInterval(scrtimeleft);},function(){ scrtimeleft = setInterval(function(){interval("comment");},3000); }).trigger("mouseleave");
  
  $("#reposts").hover(function(){clearInterval(scrtimeright);},function(){ scrtimeright = setInterval(function(){interval("reposts");},3000); }).trigger("mouseleave");

});
function interval(id){
	
  var $ul = $("#"+id+" ul");

  var liHeight = $ul.find("li:last").height();

  $ul.animate({marginTop : liHeight+40 +"px"},1000,function(){

  $ul.find("li:last").prependTo($ul)

  $ul.find("li:first").hide();

  $ul.css({marginTop:0});

  $ul.find("li:first").fadeIn(1000);

  }); 
	
	
	
}
